#include "Point.h"
Point::Point(int x, int y) :x(x), y(y) {

}
int Point::getX() const {
	return x;

}
void Point::setX(int x){
	this->x = x;
}
int Point::getY() const {
	return y;

}
void Point::setY(int y) {
	this->y = y;
}
void Point::setXY(int x, int y) {
	this->x = x;
	this->y = y;
}
double Point::getArgument() const {
	return atan2(x, y);
}
double Point::getMagnitude() const {
	return sqrt(x*x + y*y);
}
void Point::printf() const {
	cout << "(" << x << "," << y << ")" << endl;
}